#!/bin/bash
source /etc/profile;
pro_path="/web/sangong/sangong";
cd ${pro_path};
pwd
mvn -Dmaven.test.skip=true clean install;
echo "start push image to aliyun"
docker login --username=1034334767@qq.com registry.cn-hangzhou.aliyuncs.com -p Docker@admin123
docker push registry.cn-hangzhou.aliyuncs.com/nyk-zjc/respo:sangong-0.0.1-SNAPSHOT